﻿// Stickers
// An example app demonstrating cloud native .NET apps
// Written by daxnet (Sunny Chen)
// MIT License
// 2024

using System.Text.Json.Serialization;

namespace Stickers.Web.ViewModels;

public class Sticker
{
    [JsonPropertyName("id")]
    public int Id { get; set; }

    [JsonPropertyName("title")]
    public string? Title { get; set; }

    [JsonPropertyName("content")]
    public string? Content { get; set; }

    [JsonPropertyName("createdOn")]
    public DateTime DateCreated { get; set; }

    [JsonPropertyName("modifiedOn")]
    public DateTime? DateModified { get; set; }
}